using System;
using System.Collections.Generic;
using System.Text;

namespace GURUCORE.Framework.Business.BaseData
{
    /// <summary>
    /// Data Item in Hierachical datasource, node in the Hierachical tree
    /// </summary>
	public class HierachicalData
	{
        private string m_sName; 
        private object m_oData;
        private string m_sPath;
        private int m_nSortOrder;
        private HierachicalData m_oParent;
		

		public string Name
		{
			get { return m_sName; }
			set { m_sName = value; }
		}
        public object Data
		{
			get { return m_oData; }
			set { m_oData = value; }
		}
		public string Path
		{
			get { return m_sPath; }
			set { m_sPath = value; }
		}
        public int SortOrder
		{
			get { return m_nSortOrder; }
			set { m_nSortOrder = value; }
		}

		public HierachicalData Parent
		{
			get { return m_oParent; }
			set { m_oParent = value; }
		}



		public HierachicalData(string p_sName, object p_oData)
		{
			m_sName = p_sName;
			m_oData = p_oData;
		}



	}
}
